/* eslint-disable no-param-reassign */
const initQueryParam = {
  // 车型id
  modelId: undefined,
  // 公告车型
  publishCode: undefined,
  // 创建时间
  createTimeStart: undefined,
  createTimeEnd: undefined,
  createTime:undefined,
  // 生产车系
  productionSeries:undefined,
}

const state = {
  // 查询条件
  queryParam: {
    ...initQueryParam
  },
}
const mutations = {
  resetModelStyleQueryParams (state) {
    // eslint-disable-next-line no-param-reassign
    state.queryParam = {
      ...initQueryParam
    }
  }
}

const actions = {
}
export default {
  state,
  mutations,
  actions
}
